﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CardTypes = Wormhole.Engine.CardLibrary.CardTypes;
using CardProperties = Wormhole.Engine.CardLibrary.CardProperties;

namespace Wormhole.Engine.CardLibrary.SG1.Cards.Hero.Gear
{
	/// <author>Rodney McKay</author>
	/// <date>07 April 2008</date>
	/// <summary>
	/// Naquadah Reactor
	/// </summary>
	/// <card>
	///		<title>Naquadah Reactor</title>
	///		<cost>3</cost>
	///		<gameText>
	///			At the end of your power phase, gain 1 power. 
	///			Stop and destroy this gear, pay 6 power -- Destroy an obstacle at the current mission.
	///		</gameText>
	///
	///		<lore>
	///			The Orbanians shared this advanced power generation technology with the SGC. Under
	///			O'Neill's orders, Samantga Cartet later converted a reactor into a massive bomb.
	///		</lore>
	///		
	///		<collectorInfo>
	///			<expansion>1</expansion>
	///			<rarity>Common</rarity>
	///			<number>148</number>
	///		</collectorInfo>
	///		
	///		<traits>
	///			<trait>Gear</trait>
	///			<trait>SGC</trait>
	///		</traits>
	/// </card>
	public class SG1C148 : CardTypes.Gear
	{
		#region Title
		/// <summary>
		/// The Card Title.
		/// </summary>
		public override string Title
		{
			get { return "Naquadah Reactor"; }
		}
		#endregion

		#region Cost
		/// <summary>
		/// The power cost of the card.
		/// </summary>
		public override int Cost
		{
			get { return 3; }
		}
		#endregion

		#region Game Text
		/// <summary>
		/// The card rules.
		/// </summary>
		public override string GameText
		{
			get 
			{ 
				return "At the end of your power phase, gain 1 power. Stop and destroy this gear, pay 6 power -- Destroy an obstacle at the current mission.";
			}
		}
		#endregion

		#region Lore
		/// <summary>
		/// The story behind the card.
		/// </summary>
		public override string Lore
		{
			get 
			{
				return "The Orbanians shared this advanced power generation technology with the SGC. Under O'Neill's orders, Samantga Cartet later converted a reactor into a massive bomb.";
			}
		}
		#endregion

		#region Collector Info
		private CardProperties.CollectorInfo _collectorInfo;
		/// <summary>
		/// The collector information.
		/// </summary>
		public override CardProperties.CollectorInfo CollectorInfo
		{
			get
			{
				if (this._collectorInfo == null)
				{
					this._collectorInfo = new CardProperties.CollectorInfo();
					this._collectorInfo.Expansion = 1;
					this._collectorInfo.Rarity = CardProperties.Rarity.Common;
					this._collectorInfo.Number = 148;
				}

				return this._collectorInfo;
			}
		}
		#endregion

		#region Traits
		private CardProperties.Traits _traits;
		/// <summary>
		/// The card traits.
		/// </summary>
		public override CardProperties.Traits Traits
		{
			get
			{
				if (this._traits == null)
				{
					this._traits = new CardProperties.Traits();
					this._traits.Add(CardProperties.Trait.Gear);
					this._traits.Add(CardProperties.Trait.SGC);
				}

				return this._traits;
			}
		}
		#endregion

		#region Image URI
		private Uri _imageUri;
		/// <summary>
		/// The location of the card image.
		/// </summary>
		public override Uri ImageUri
		{
			get
			{
				if (this._imageUri == null)
				{
					this._imageUri = new Uri("pack://application:,,,/Wormhole.Engine.CardLibrary.SG1;component/Images/Hero/Gear/1C148.jpg", UriKind.Absolute);
				}

				return this._imageUri;
			}
		}
		#endregion

		#region Constructor
		/// <summary>
		/// Initialize a new instance of the class.
		/// </summary>
		/// <param name="owner">The card owner.</param>
		public SG1C148(Player.Player owner)
			: base(owner)
		{

		}
		#endregion
	}
}
